<?php


class Web {


    public static $LIST_FILMS;

    
    public static function searchFilms($params){
        if(isset($params['start'])){
            $nomsFilms=array();
            foreach(Query::getFilmsPattern('%'.$params['start'].'%') as $film){
                $nomsFilms[]=$film->FILM_TITRE;
            }
            return $nomsFilms;
        }
    }

    
}


?>